<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>WURFLTestsSuite</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    <link rel="stylesheet" type="text/css" href="container.css">
    <script type="text/javascript" src="yahoo-dom-event.js"></script>
    <script type="text/javascript" src="container-min.js"></script>
  </head>

  <body class="yui-skin-sam">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr><td class="title">WURFLTestsSuite</td></tr>
      <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>

      <tr>
        <td width="100%">
          <table cellpadding="1" border="0" width="100%">
            <tr>
              <td class="headerItem" width="20%">Current file:</td>
              <td class="headerValue" width="80%"><a href="index.html">/Users/fanta/Documents/Work/Projects/com.wurflpro/wurfl-api/code/dev/wurfl-php/wurfl-api-php</a>/<a href="WURFL.html">WURFL</a>/<a href="WURFL_Handlers.html">Handlers</a>/<a href="WURFL_Handlers_MSIEHandler.php.html">MSIEHandler.php</a></td>
            </tr>
            <tr>
              <td class="legendItem" width="20%">Legend:</td>
              <td class="legendValue" width="80%">
                <span class="legendCov">executed</span>
                <span class="legendNoCov">not executed</span>
                <span class="legendDeadCode">dead code</span>
              </td>
            </tr>
          </table>
        </td>
      </tr>

      <tr>
        <td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td>
      </tr>
    </table>

    <br />

    <center>
      <table width="90%" cellpadding="2" cellspacing="1" border="0">
        <tr>
          <td class="tableHead" width="30%">&nbsp;</td>
          <td class="tableHead" colspan="9">Coverage</td>
        </tr>
        <tr>
          <td class="tableHead">&nbsp;</td>
          <td class="tableHead" colspan="3">Classes</td>
          <td class="tableHead" colspan="3">Functions / Methods</td>
          <td class="tableHead" colspan="3">Lines</td>
        </tr>
        <tr>
          <td class="coverItem">Total</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">1 / 1</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">2 / 2</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">5 / 5</td>
        </tr>

        <tr>
          <td class="tableHead" colspan="10">&nbsp;</td>
        </tr>
        <tr>
          <td class="coverItem"><b><a href="#31">WURFL_Handlers_MSIEHandler</a></b></td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">1 / 1</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">2 / 2</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">5 / 5</td>
        </tr>

        <tr>
          <td class="coverFile" colspan="4">&nbsp;<a href="#35">public function __construct($wurflContext, $userAgentNormalizer = NULL)</a></td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">1 / 1</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">2 / 2</td>
        </tr>

        <tr>
          <td class="coverFile" colspan="4">&nbsp;<a href="#45">public function canHandle($userAgent)</a></td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">1 / 1</td>
          <td class="coverBar" align="center" width="100">
            <table border="0" cellspacing="0" cellpadding="1">
              <tr>
                <td class="coverBarOutline"><img src="chameleon.png" width="100" height="10" alt="100.00%"><img src="snow.png" width="0" height="10" alt="100.00%"></td>
              </tr>
            </table>
          </td>
          <td class="coverPerHi">100.00%</td>
          <td class="coverNumHi">3 / 3</td>
        </tr>


      </table>
    </center>

    <br />

    <table cellpadding="0" cellspacing="0" border="0">
      <tr>
        <td><br /></td>
      </tr>
      <tr>
        <td>
<pre class="source">
<span class="lineNum" id="container1"><a name="1"></a><a href="#1" id="line1">       1</a> </span>                : &lt;?php                                                                                                                                            
<span class="lineNum" id="container2"><a name="2"></a><a href="#2" id="line2">       2</a> </span>                : /**                                                                                                                                              
<span class="lineNum" id="container3"><a name="3"></a><a href="#3" id="line3">       3</a> </span>                :  * WURFL API                                                                                                                                     
<span class="lineNum" id="container4"><a name="4"></a><a href="#4" id="line4">       4</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container5"><a name="5"></a><a href="#5" id="line5">       5</a> </span>                :  * LICENSE                                                                                                                                       
<span class="lineNum" id="container6"><a name="6"></a><a href="#6" id="line6">       6</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container7"><a name="7"></a><a href="#7" id="line7">       7</a> </span>                :  * This file is released under the GNU General Public License. Refer to the                                                                      
<span class="lineNum" id="container8"><a name="8"></a><a href="#8" id="line8">       8</a> </span>                :  * COPYING file distributed with this package.                                                                                                   
<span class="lineNum" id="container9"><a name="9"></a><a href="#9" id="line9">       9</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container10"><a name="10"></a><a href="#10" id="line10">      10</a> </span>                :  * Copyright (c) 2008-2009, WURFL-Pro S.r.l., Rome, Italy                                                                                        
<span class="lineNum" id="container11"><a name="11"></a><a href="#11" id="line11">      11</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container12"><a name="12"></a><a href="#12" id="line12">      12</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container13"><a name="13"></a><a href="#13" id="line13">      13</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container14"><a name="14"></a><a href="#14" id="line14">      14</a> </span>                :  * @category   WURFL                                                                                                                             
<span class="lineNum" id="container15"><a name="15"></a><a href="#15" id="line15">      15</a> </span>                :  * @package    WURFL_Handlers                                                                                                                    
<span class="lineNum" id="container16"><a name="16"></a><a href="#16" id="line16">      16</a> </span>                :  * @copyright  WURFL-PRO SRL, Rome, Italy                                                                                                        
<span class="lineNum" id="container17"><a name="17"></a><a href="#17" id="line17">      17</a> </span>                :  * @license                                                                                                                                      
<span class="lineNum" id="container18"><a name="18"></a><a href="#18" id="line18">      18</a> </span>                :  * @version    $id$                                                                                                                              
<span class="lineNum" id="container19"><a name="19"></a><a href="#19" id="line19">      19</a> </span>                :  */                                                                                                                                              
<span class="lineNum" id="container20"><a name="20"></a><a href="#20" id="line20">      20</a> </span>                :                                                                                                                                                  
<span class="lineNum" id="container21"><a name="21"></a><a href="#21" id="line21">      21</a> </span>                : /**                                                                                                                                              
<span class="lineNum" id="container22"><a name="22"></a><a href="#22" id="line22">      22</a> </span>                :  * MSIEAgentHanlder                                                                                                                              
<span class="lineNum" id="container23"><a name="23"></a><a href="#23" id="line23">      23</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container24"><a name="24"></a><a href="#24" id="line24">      24</a> </span>                :  *                                                                                                                                               
<span class="lineNum" id="container25"><a name="25"></a><a href="#25" id="line25">      25</a> </span>                :  * @category   WURFL                                                                                                                             
<span class="lineNum" id="container26"><a name="26"></a><a href="#26" id="line26">      26</a> </span>                :  * @package    WURFL_Handlers                                                                                                                    
<span class="lineNum" id="container27"><a name="27"></a><a href="#27" id="line27">      27</a> </span>                :  * @copyright  WURFL-PRO SRL, Rome, Italy                                                                                                        
<span class="lineNum" id="container28"><a name="28"></a><a href="#28" id="line28">      28</a> </span>                :  * @license                                                                                                                                      
<span class="lineNum" id="container29"><a name="29"></a><a href="#29" id="line29">      29</a> </span>                :  * @version    $id$                                                                                                                              
<span class="lineNum" id="container30"><a name="30"></a><a href="#30" id="line30">      30</a> </span>                :  */                                                                                                                                              
<span class="lineNum" id="container31"><a name="31"></a><a href="#31" id="line31">      31</a> </span>                : class WURFL_Handlers_MSIEHandler extends WURFL_Handlers_Handler {                                                                                
<span class="lineNum" id="container32"><a name="32"></a><a href="#32" id="line32">      32</a> </span>                :                                                                                                                                                  
<span class="lineNum" id="container33"><a name="33"></a><a href="#33" id="line33">      33</a> </span>                :     protected $prefix = &quot;MSIE&quot;;                                                                                                                  
<span class="lineNum" id="container34"><a name="34"></a><a href="#34" id="line34">      34</a> </span>                :                                                                                                                                                  
<span class="lineNum" id="container35"><a name="35"></a><a href="#35" id="line35">      35</a> </span>                :     function __construct($wurflContext, $userAgentNormalizer = null) {                                                                           
<span class="lineNum" id="container36"><a name="36"></a><a href="#36" id="line36">      36</a> </span><span class="lineCov">              6 :         parent::__construct ( $wurflContext, $userAgentNormalizer );                                                                             </span>
<span class="lineNum" id="container37"><a name="37"></a><a href="#37" id="line37">      37</a> </span><span class="lineCov">              6 :     }                                                                                                                                            </span>
<span class="lineNum" id="container38"><a name="38"></a><a href="#38" id="line38">      38</a> </span>                :                                                                                                                                                  
<span class="lineNum" id="container39"><a name="39"></a><a href="#39" id="line39">      39</a> </span>                :     /**                                                                                                                                          
<span class="lineNum" id="container40"><a name="40"></a><a href="#40" id="line40">      40</a> </span>                :      * Intercept all UAs Starting with Mozilla and Containing MSIE and are not mobile browsers                                                   
<span class="lineNum" id="container41"><a name="41"></a><a href="#41" id="line41">      41</a> </span>                :      *                                                                                                                                           
<span class="lineNum" id="container42"><a name="42"></a><a href="#42" id="line42">      42</a> </span>                :      * @param string $userAgent                                                                                                                  
<span class="lineNum" id="container43"><a name="43"></a><a href="#43" id="line43">      43</a> </span>                :      * @return boolean                                                                                                                           
<span class="lineNum" id="container44"><a name="44"></a><a href="#44" id="line44">      44</a> </span>                :      */                                                                                                                                          
<span class="lineNum" id="container45"><a name="45"></a><a href="#45" id="line45">      45</a> </span>                :     public function canHandle($userAgent) {                                                                                                      
<span class="lineNum" id="container46"><a name="46"></a><a href="#46" id="line46">      46</a> </span><span class="lineCov">             47 :         if (WURFL_Handlers_Utils::isMobileBrowser ( $userAgent )) {                                                                              </span>
<span class="lineNum" id="container47"><a name="47"></a><a href="#47" id="line47">      47</a> </span><span class="lineCov">             30 :             return false;                                                                                                                        </span>
<span class="lineNum" id="container48"><a name="48"></a><a href="#48" id="line48">      48</a> </span><span class="lineDeadCode">                :         }                                                                                                                                        </span>
<span class="lineNum" id="container49"><a name="49"></a><a href="#49" id="line49">      49</a> </span>                :                                                                                                                                                  
<span class="lineNum" id="container50"><a name="50"></a><a href="#50" id="line50">      50</a> </span><span class="lineCov">             17 :         return WURFL_Handlers_Utils::checkIfStartsWith ( $userAgent, &quot;Mozilla&quot; ) &amp;&amp; WURFL_Handlers_Utils::checkIfContains ( $userAgent, &quot;MSIE&quot; );</span>
<span class="lineNum" id="container51"><a name="51"></a><a href="#51" id="line51">      51</a> </span><span class="lineDeadCode">                :     }                                                                                                                                            </span>
<span class="lineNum" id="container52"><a name="52"></a><a href="#52" id="line52">      52</a> </span>                :                                                                                                                                                  

</pre>
        </td>
      </tr>
    </table>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr><td class="ruler"><img src="glass.png" width="3" height="3" alt=""></td></tr>
      <tr><td class="versionInfo">Generated by <a href="http://www.phpunit.de/">PHPUnit 3.3.15</a> and <a href="http://www.xdebug.org/">Xdebug 2.0.4</a> at Thu Oct 7 10:11:47 BST 2010.</td></tr>
    </table>

    <br />

    <script type="text/javascript">
      //<![CDATA[
      $E = YAHOO.util.Event;
      YAHOO.namespace("phpunit.container");
      YAHOO.phpunit.container.panelsData = {
        "panel36": {
          "header": "6 tests cover line 36",
          "body": "<ul><li class=\"testPassed\">testShoudHandle(WURFL_Handlers_MSIEHandlerTest)</li><li class=\"testPassed\">testShouldBuildARepositoryOfAllDevicesFromTheXmlFile(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldAddNewDevice(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldApplyMoreThanOnePatches(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldNotRebuildTheRepositoryIfAlreadyBuild(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">shoudReloadTheWurfl(WURFL_Reloader_DefaultWURFLReloaderTest)</li></ul>",
          "footer": ""
        },
        "panel37": {
          "header": "6 tests cover line 37",
          "body": "<ul><li class=\"testPassed\">testShoudHandle(WURFL_Handlers_MSIEHandlerTest)</li><li class=\"testPassed\">testShouldBuildARepositoryOfAllDevicesFromTheXmlFile(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldAddNewDevice(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldApplyMoreThanOnePatches(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldNotRebuildTheRepositoryIfAlreadyBuild(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">shoudReloadTheWurfl(WURFL_Reloader_DefaultWURFLReloaderTest)</li></ul>",
          "footer": ""
        },
        "panel46": {
          "header": "47 tests cover line 46",
          "body": "<ul><li class=\"testPassed\">testShouldReturnGenericForEmptyUserAgent(WURFL_WURFLManagerTest)</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #5 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413\', \'nokia_n80_ver1_submozilla50\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #6 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/414 (KHTML, like Gecko) Safari/414 es61\', \'nokia_e61_ver1_submozilla50_sub2\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #7 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es65\', \'nokia_e65_ver1_subsafari413\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #22 (\'EricssonT39/R202 Profile/MIDP-2.0 Configuration/CLDC-1.1\', \'ericsson_t39_ver1_subr202\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #61 (\'SendoS330/9.A Browser/UP.Browser/7.0.2.1a.f.1.104 (GUI) Profile/MIDP-2.0 UP.Browser/7.0.2.3.119 (GUI) MMP/2.0\', \'sendos330_ver1_sub14ag03\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #83 (\'SmarTone-Vodafone/SharpSX833/SHS001/1.0 Browser/UP.Browser/7.0.2.4 (GUI) Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0\', \'sharp_sx833_ver1_subshs001107021a474\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #87 (\'YAS-COSMOS/2.0 UP.Browser/6.1.0.8.5 (GUI) MMP/1.0\', \'yas_cosmos_ver1_sub61073\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #88 (\'HAIER-V100 ObigoInternetBrowser/3.0\', \'haier_v100_ver1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #89 (\'HAIER-V300 ObigoInternetBrowser/3.0\', \'generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #90 (\'TSM-7/53118323 Browser/1.2.1 Profile/MIDP-1.0 Configuration/CLDC-1.0\', \'portalmmm_ver2_subtsm7_FFFFFFFF\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #91 (\'CDM-8900TM/6.2 UP.Browser/6.2.2.4.d.1.103 (GUI) MMP/2.0\', \'cdm_8900tm_ver1_sub6223d1103\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #94 (\'PIPPOVOX-CDM9100/05.14 UP.Browser/4.1.21c\', \'uptext_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #95 (\'PIPPOLESO-8450 UP.Browser/5.0.2.2 (GUI) MMP/2.0\', \'upgui_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #96 (\'SHERLOCK-q8450 UP.Browser/6.0.2.2 (GUI) MMP/2.0\', \'opwv_v6_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #97 (\'WATSON-q8450 UP.Browser/6.1.2.2 (GUI) MMP/2.0\', \'opwv_v6_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #98 (\'MOUSE-845w0 UP.Browser/6.2.2.2 (GUI) MMP/2.0\', \'opwv_v62_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #99 (\'DONALD-8e450 UP.Browser/7.0.2.2 (GUI) MMP/2.0\', \'opwv_v7_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #100 (\'UNCLE/SCRUDGE-8450 UP.Browser/7.2.2.2 (GUI) MMP/2.0\', \'opwv_v72_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #101 (\'Mozilla/4.0 NetFront/3.0 Avantg/1.0\', \'generic_netfront_ver3\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #102 (\'Mozilla/4.0 (Phone;) NetFront/3.1 Avantg/1.0\', \'generic_netfront_ver3_1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #103 (\'Mozilla/4.0 (Phone;) NetFront/3.2 Avantg/1.0\', \'generic_netfront_ver3_2\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #104 (\'Mozilla/4.0  NetFront/3.3 Avantg/1.0\', \'generic_netfront_ver3_3\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #105 (\'Mozilla/4.0  NetFront/3.4 Avantg/1.0\', \'generic_netfront_ver3_4\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #106 (\'Mozilla/4.0  NetFront/3.5 Avantg/1.0\', \'generic_netfront_ver3_5\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #107 (\'Mozilla/4.0  NetFront/4.0 Avantg/1.0\', \'generic_netfront_ver4\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #108 (\'HuaweiU7520/B000 Browser/NetFront/4.1 MMS/Obigo-MMS/Q05A SyncML/HW-SyncML/1.0 Java/HWJa/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 Player/QTV-Player/5.\', \'generic_netfront_ver4_1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #140 (\'Mozilla/3.0 PDA Profile/MIDP-2.0 Configuration/CLDC-1.1\', \'generic_xhtml\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #141 (\'PippoBaudoInCariola\', \'generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #149 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; i-NavFourF; .NET CLR 2.0.50727; .NET CLR 1.1.4322)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #151 (\'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)\', \'msie_8\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #152 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #153 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #154 (\'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\', \'msie_7\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #160 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)\', \'msie_6\')</li><li class=\"testPassed\">testShoudHandle(WURFL_Handlers_MSIEHandlerTest)</li><li class=\"testPassed\">testShouldBuildARepositoryOfAllDevicesFromTheXmlFile(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldAddNewDevice(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldApplyMoreThanOnePatches(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #5 (\'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)\', \'msie_8\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #6 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\', \'msie_6\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #7 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)\', \'msie_6\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #8 (\'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\', \'msie_7\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #18 (\'UP.Link/6.3.1.20.0\', \'generic\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #19 (\'r451[TF268435459008190622000000014792163290] UP.Browser/6.2.3.8 (GUI) MMP/2.0\', \'samsung_sch_r451_ver1\')</li><li class=\"testPassed\">testIssue54ModelNameAndBrandNameNotReturnedByWURFL(WURFL_Issues_IssuesTest)</li><li class=\"testPassed\">shoudReloadTheWurfl(WURFL_Reloader_DefaultWURFLReloaderTest)</li></ul>",
          "footer": ""
        },
        "panel47": {
          "header": "30 tests cover line 47",
          "body": "<ul><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #5 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413\', \'nokia_n80_ver1_submozilla50\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #6 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/414 (KHTML, like Gecko) Safari/414 es61\', \'nokia_e61_ver1_submozilla50_sub2\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #7 (\'Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es65\', \'nokia_e65_ver1_subsafari413\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #22 (\'EricssonT39/R202 Profile/MIDP-2.0 Configuration/CLDC-1.1\', \'ericsson_t39_ver1_subr202\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #61 (\'SendoS330/9.A Browser/UP.Browser/7.0.2.1a.f.1.104 (GUI) Profile/MIDP-2.0 UP.Browser/7.0.2.3.119 (GUI) MMP/2.0\', \'sendos330_ver1_sub14ag03\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #83 (\'SmarTone-Vodafone/SharpSX833/SHS001/1.0 Browser/UP.Browser/7.0.2.4 (GUI) Profile/MIDP-2.0 Configuration/CLDC-1.1 Ext-J-Profile/JSCL-1.2.2 Ext-V-Profile/VSCL-2.0.0\', \'sharp_sx833_ver1_subshs001107021a474\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #87 (\'YAS-COSMOS/2.0 UP.Browser/6.1.0.8.5 (GUI) MMP/1.0\', \'yas_cosmos_ver1_sub61073\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #88 (\'HAIER-V100 ObigoInternetBrowser/3.0\', \'haier_v100_ver1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #89 (\'HAIER-V300 ObigoInternetBrowser/3.0\', \'generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #90 (\'TSM-7/53118323 Browser/1.2.1 Profile/MIDP-1.0 Configuration/CLDC-1.0\', \'portalmmm_ver2_subtsm7_FFFFFFFF\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #91 (\'CDM-8900TM/6.2 UP.Browser/6.2.2.4.d.1.103 (GUI) MMP/2.0\', \'cdm_8900tm_ver1_sub6223d1103\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #94 (\'PIPPOVOX-CDM9100/05.14 UP.Browser/4.1.21c\', \'uptext_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #95 (\'PIPPOLESO-8450 UP.Browser/5.0.2.2 (GUI) MMP/2.0\', \'upgui_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #96 (\'SHERLOCK-q8450 UP.Browser/6.0.2.2 (GUI) MMP/2.0\', \'opwv_v6_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #97 (\'WATSON-q8450 UP.Browser/6.1.2.2 (GUI) MMP/2.0\', \'opwv_v6_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #98 (\'MOUSE-845w0 UP.Browser/6.2.2.2 (GUI) MMP/2.0\', \'opwv_v62_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #99 (\'DONALD-8e450 UP.Browser/7.0.2.2 (GUI) MMP/2.0\', \'opwv_v7_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #100 (\'UNCLE/SCRUDGE-8450 UP.Browser/7.2.2.2 (GUI) MMP/2.0\', \'opwv_v72_generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #101 (\'Mozilla/4.0 NetFront/3.0 Avantg/1.0\', \'generic_netfront_ver3\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #102 (\'Mozilla/4.0 (Phone;) NetFront/3.1 Avantg/1.0\', \'generic_netfront_ver3_1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #103 (\'Mozilla/4.0 (Phone;) NetFront/3.2 Avantg/1.0\', \'generic_netfront_ver3_2\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #104 (\'Mozilla/4.0  NetFront/3.3 Avantg/1.0\', \'generic_netfront_ver3_3\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #105 (\'Mozilla/4.0  NetFront/3.4 Avantg/1.0\', \'generic_netfront_ver3_4\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #106 (\'Mozilla/4.0  NetFront/3.5 Avantg/1.0\', \'generic_netfront_ver3_5\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #107 (\'Mozilla/4.0  NetFront/4.0 Avantg/1.0\', \'generic_netfront_ver4\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #108 (\'HuaweiU7520/B000 Browser/NetFront/4.1 MMS/Obigo-MMS/Q05A SyncML/HW-SyncML/1.0 Java/HWJa/2.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 Player/QTV-Player/5.\', \'generic_netfront_ver4_1\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #140 (\'Mozilla/3.0 PDA Profile/MIDP-2.0 Configuration/CLDC-1.1\', \'generic_xhtml\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #18 (\'UP.Link/6.3.1.20.0\', \'generic\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #19 (\'r451[TF268435459008190622000000014792163290] UP.Browser/6.2.3.8 (GUI) MMP/2.0\', \'samsung_sch_r451_ver1\')</li><li class=\"testPassed\">testIssue54ModelNameAndBrandNameNotReturnedByWURFL(WURFL_Issues_IssuesTest)</li></ul>",
          "footer": ""
        },
        "panel50": {
          "header": "17 tests cover line 50",
          "body": "<ul><li class=\"testPassed\">testShouldReturnGenericForEmptyUserAgent(WURFL_WURFLManagerTest)</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #141 (\'PippoBaudoInCariola\', \'generic\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #149 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; i-NavFourF; .NET CLR 2.0.50727; .NET CLR 1.1.4322)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #151 (\'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)\', \'msie_8\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #152 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #153 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)\', \'msie_6\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #154 (\'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\', \'msie_7\')</li><li class=\"testPassed\">testGetDeviceForUserAgent(WURFL_WURFLManagerTest) with data set #160 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)\', \'msie_6\')</li><li class=\"testPassed\">testShoudHandle(WURFL_Handlers_MSIEHandlerTest)</li><li class=\"testPassed\">testShouldBuildARepositoryOfAllDevicesFromTheXmlFile(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldAddNewDevice(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testShouldApplyMoreThanOnePatches(WURFL_DeviceRepositoryBuilderTest)</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #5 (\'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)\', \'msie_8\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #6 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)\', \'msie_6\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #7 (\'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)\', \'msie_6\')</li><li class=\"testPassed\">testIssues(WURFL_Issues_IssuesTest) with data set #8 (\'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)\', \'msie_7\')</li><li class=\"testPassed\">shoudReloadTheWurfl(WURFL_Reloader_DefaultWURFLReloaderTest)</li></ul>",
          "footer": ""
        },
      "dummy": ""
      };

      YAHOO.phpunit.container.prepare = function (e) {
        var elemId = $E.getTarget(e).id;
        var line = elemId.substr(4);
        var panelId = "panel" + line;
        var containerId = "container" + line;

        var panelData = YAHOO.phpunit.container.panelsData[panelId];

        var panel = new YAHOO.widget.Panel(panelId, { visible:false, draggable:false, close:true } );
        panel.setHeader(panelData["header"]);
        panel.setBody(panelData["body"]);
        panel.setFooter(panelData["footer"]);
        panel.render(containerId);

        $E.addListener(elemId, "click", panel.show, panel, true);
        $E.removeListener(elemId, "mouseover");
      };

      function init() {
        var ypc = YAHOO.phpunit.container;
        for (var panelId in ypc.panelsData) {
          var elemId = "line" + panelId.substr(5);
          $E.addListener(elemId, "mouseover", ypc.prepare);
        }
      }

      $E.addListener(window, "load", init);
      //]]>
    </script>
  </body>
</html>
